﻿Public Class LoaiNhaBUS
    Private lnDAO As LoaiNhaDAO

    Public Sub New()
        lnDAO = New LoaiNhaDAO
    End Sub
    Public Function CapNhat(ByVal ln As LoaiNhaDTO, ByVal f As Boolean) As Boolean
        Return lnDAO.CapNhat(ln, f)
    End Function
    Public Function XoaLoaiNha(ByVal emp As LoaiNhaDTO)
        Return lnDAO.XoaLoaiNha(emp)
    End Function
    Public Function GetData() As List(Of LoaiNhaDTO)
        Return lnDAO.GetData()
    End Function
End Class
